package oggetti;

public class Cliente{
	private String nome;
	private String cognome;
	private String iva;
	private String fiscale;
	private String residenza;
	private String telefono;
	private String email;
	private String password;
	private String username;
	private int id;

	public Cliente(String nome, String cognome, String iva, String fiscale,
			String residenza, String telefono, String email, int id,String username,String password) {
		this.nome = nome;
		this.cognome = cognome;
		this.iva = iva;
		this.fiscale = fiscale;
		this.residenza = residenza;
		this.telefono = telefono;
		this.email = email;
		this.id = id;
		this.password=password;
		this.username=username;
	}
	public Object[] toArray(){
		Object[] tmp = new Object[10];
		tmp[0] = new String(""+this.id);
		tmp[1] = this.nome;
		tmp[2] = this.cognome;
		tmp[3] = iva;
		tmp[4] =fiscale;
		tmp[5] = residenza;
		tmp[6] = telefono;
		tmp[7] = email;
		tmp[8] = username;
		tmp[9] = password;
		return tmp;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNome() {
		return nome;
	}
	public void setNome(String nome) {
		this.nome = nome;
	}
	public String getCognome() {
		return cognome;
	}
	public void setCognome(String cognome) {
		this.cognome = cognome;
	}
	public String getIva() {
		return iva;
	}
	public void setIva(String iva) {
		this.iva = iva;
	}
	public String getFiscale() {
		return fiscale;
	}
	public void setFiscale(String fiscale) {
		this.fiscale = fiscale;
	}
	public String getResidenza() {
		return residenza;
	}
	public void setResidenza(String residenza) {
		this.residenza = residenza;
	}
	public String getTelefono() {
		return telefono;
	}
	public void setTelefono(String telefono) {
		this.telefono = telefono;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	
}